package com.steve.mac.tools.java8test;

/**
 * designed by Steve Ke on 2017/12/9.
 *
 * @author Steve Ke
 *         e-mail  huangke7296@foxmail.com
 *         github  https://github.com/KoreHuang
 *         oschina https://git.oschina.net/steveKe
 * @version JDK 1.8.0_111
 * @since 2017/12/9
 */
public class DefaulableImp implements Defaulable {

    public static void main(String []args){
        Defaulable defaulable = Defaulable.createNewInstance(DefaulableImp::new);
        System.out.println(defaulable.notRequire());
    }
    @Override
    public String test() {
        return "hello";
    }


}
